import { configureStore } from '@reduxjs/toolkit'
import userReducer from './userStore'
const store = configureStore({
	reducer: {
		// 添加reducer
		user: userReducer,
	},
})
export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch
export default store
